<?php
/**
 * The production database settings. These get merged with the global settings.
 */

return array(


    'redis' => array(
        'default' => array(
            'hostname'  => '127.0.0.1',
            'port'      => 6379,
            'timeout'	=> null,
//            'database'  => 0,
            'password'=>'ycp@2015'
        )
    ),


    'default' => array(
        'connection'  => array(
            'dsn'        => 'mysql:host=xxxxx:3300;dbname=xxxx',
            'username'   => 'xxxxxx',
            'password'   => 'xxxxxx',
        ),
    ),




    'master_db' => array(
        'type' =>'pdo',
        'table_prefix' => '',
        'connection' => array(
            'dsn' => 'mysql:host=xxxxx:3300;dbname=xxxxx',
            'charset' => 'utf8',
            'username' => 'xxxxx',
            'password' => 'xxxxxx',
        ),
    ),

    'slave_db' => array(
        'type' =>'pdo',
        'table_prefix' => '',
        'connection' => array(
            'dsn' => 'mysql:host=xxxxxx:3300;dbname=xxxxxx',
            'charset' => 'utf8',
            'username' => 'xxxxxxx',
            'password' => 'xxxxxx',
        ),
    ),
);
